﻿using System;


namespace SignOfInteger
{
    class SignOfInteger
    {
        static void Main(string[] args)
        {
            //Write a program that shows the sign (+ or -) of the product of three real numbers without calculating it. Use a sequence of if statements.
            Console.WriteLine("First:");
            double firstNumber = double.Parse(Console.ReadLine());
            Console.WriteLine("Second:");
            double secondNumber = double.Parse(Console.ReadLine());
            Console.WriteLine("Third:");
            double thirdNumber = double.Parse(Console.ReadLine());
            Console.WriteLine();
            if(firstNumber>0)
            {
                Console.WriteLine("+{0}",firstNumber);
            }
            else if(firstNumber==0)
            {
                Console.WriteLine("+-{0}",firstNumber);
            }
            else if(firstNumber<0)
            {
                Console.WriteLine("-{0}",firstNumber);
            }
            if (secondNumber > 0)
            {
                Console.WriteLine("+{0}", secondNumber);
            }
            else if (secondNumber == 0)
            {
                Console.WriteLine("+-{0}", secondNumber);
            }
            else if (secondNumber < 0)
            {
                Console.WriteLine("-{0}", secondNumber);
            }
            if (thirdNumber > 0)
            {
                Console.WriteLine("+{0}", thirdNumber);
            }
            else if (thirdNumber == 0)
            {
                Console.WriteLine("+-{0}", thirdNumber);
            }
            else if (thirdNumber < 0)
            {
                Console.WriteLine("-{0}", thirdNumber);
            }
        }
    }
}
